<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>罗江区数据可视化平台</title>
    <link rel="stylesheet" href="./css/index.css">

</head>

<body>
    <header class="head">
        <h1>罗江区数据可视化平台</h1>
        <div class="now_time"></div>
    </header>
    <section class="mainbox ">
        <div class="column">
            <div class="panel bar_industry">
                <h3>区自然资源</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel line_staff">
                <h3 class="title">
                    区消防大队
                    <a href="javascript:;">2019</a>
                    <a href="javascript:;">2020</a>
                </h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel pie_age">
                <h3>经开区(危化品)</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
        </div>
        <div class="column">
            <div class="number" style="flex: 1;">
                <ul class="num_hd">
                    <li>890</li>
                    <li>320</li>
                    <li>150</li>
                    <li>420</li>
                </ul>
                <div class="num_bd">
                    <span>安全隐患总数量</span>
                    <span>整改中数量</span>
                    <span>待整改数量</span>
                    <span>已整改数量</span>
                </div>
            </div>
            <div class="panel map" style="flex: 9;">
                <div class="map1"></div>
                <div class="map2"></div>
                <!-- <div class="map3"></div> -->
                <div class="chart"></div>
                <div class="panel_footer"></div>
            </div>
           
        </div>
        <div class="column">
            <div class="panel bar_skill">
                <h3>区住建局</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel line_flow">
                <h3>水利局</h3>
                <div class="chart"></div>
                <div class="panel_footer"></div>
            </div>
            <div class="panel pie_area">
                <h3>区应急局</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
        </div>
    </section>
    <script src="./js//jquery.min.js"></script>
    <script src="./js/flexible.js"></script>
    <script src="./js/echarts.min.js"></script>
    <script src="./js/china.js"></script>
    <script src="./js/index.js"></script>
    <script>
        // 获取当前时间
        let timer = null;
        timer = setTimeout(time, 1000);
        function time() {
            clearTimeout(timer);
            let now = new Date();
            let y = now.getFullYear(),
                m = now.getMonth() + 1,
                d = now.getDate(),
                h = now.getHours(),
                minutes = now.getMinutes(),
                s = now.getSeconds();
            document.querySelector(".now_time").innerHTML = '当前时间: ' + y + '年' + m + '月' + d + '日 ' + h + '时' + minutes + '分' + s + '秒';
            timer = setTimeout(time, 1000);
        }

    </script>

</body>

</html>